﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 生产订单备料AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class MOPickListAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public MOPickListAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
					ActualReqQty=0m; 
		
					IssueStyle= -1; 
				
					IsOverIssue=false; 
					MaterialType= -1; 
							StandardMaterialScale=0m; 
					FixedMaterialNum=0m; 
					JIT=false; 
		
					MOStartSetCheck=false; 
					MOCompleteSetCheck=false; 
					OPStartSetCheck=false; 
					OPCompleteSetCheck=false; 
					IsCoupleIssue=false; 
					IsDiffentBatchCtl=false; 
		
					DocLineNO= 0; 
				

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.MOAITDTO != null) 
			{
				this.MOAITDTO.DoSerializeKeyList(dict);
			}
	        			if (this.ItemMaster != null) 
			{
				this.ItemMaster.DoSerializeKeyList(dict);
			}
	        	        	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        			if (this.SupplyWh != null) 
			{
				this.SupplyWh.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        	        			if (this.Project != null) 
			{
				this.Project.DoSerializeKeyList(dict);
			}
	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public MOPickListAITDTOData(  ufida.u9.ait.openapi.MOAITDTOData mOAITDTO  , ufida.u9.ait.openapi.CopyOfItemInfoData itemMaster  , System.Decimal actualReqQty  , System.String actualReqDate  , System.Int32 issueStyle  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , System.Boolean isOverIssue  , System.Int32 materialType  , System.Decimal standardMaterialScale  , System.Decimal fixedMaterialNum  , System.Boolean jIT  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData supplyWh  , System.Boolean mOStartSetCheck  , System.Boolean mOCompleteSetCheck  , System.Boolean oPStartSetCheck  , System.Boolean oPCompleteSetCheck  , System.Boolean isCoupleIssue  , System.Boolean isDiffentBatchCtl  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData project  , System.Int32 docLineNO  , System.String remark  )
		{
			initData();
			this.MOAITDTO = mOAITDTO;
			this.ItemMaster = itemMaster;
			this.ActualReqQty = actualReqQty;
			this.ActualReqDate = actualReqDate;
			this.IssueStyle = issueStyle;
			this.DescFlexField = descFlexField;
			this.IsOverIssue = isOverIssue;
			this.MaterialType = materialType;
			this.StandardMaterialScale = standardMaterialScale;
			this.FixedMaterialNum = fixedMaterialNum;
			this.JIT = jIT;
			this.SupplyWh = supplyWh;
			this.MOStartSetCheck = mOStartSetCheck;
			this.MOCompleteSetCheck = mOCompleteSetCheck;
			this.OPStartSetCheck = oPStartSetCheck;
			this.OPCompleteSetCheck = oPCompleteSetCheck;
			this.IsCoupleIssue = isCoupleIssue;
			this.IsDiffentBatchCtl = isDiffentBatchCtl;
			this.Project = project;
			this.DocLineNO = docLineNO;
			this.Remark = remark;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 生产订单AITDTO
		/// 生产订单备料AITDTO.Misc.生产订单AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.MOAITDTOData m_mOAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.MOAITDTOData MOAITDTO
		{
			get	
			{	
				return m_mOAITDTO ;
			}
			set	
			{	
				m_mOAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品
		/// 生产订单备料AITDTO.Misc.料品
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfItemInfoData m_itemMaster ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfItemInfoData ItemMaster
		{
			get	
			{	
				return m_itemMaster ;
			}
			set	
			{	
				m_itemMaster = value ;	
			}
		}
			
		

		/// <summary>
		/// 实际用量
		/// 生产订单备料AITDTO.Misc.实际用量
		/// </summary>
		private System.Decimal m_actualReqQty ;
		[DataMember(IsRequired=false)]
		public System.Decimal ActualReqQty
		{
			get	
			{	
				return m_actualReqQty ;
			}
			set	
			{	
				m_actualReqQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 实际需求日
		/// 生产订单备料AITDTO.Misc.实际需求日
		/// </summary>
		private System.String m_actualReqDate ;
		[DataMember(IsRequired=false)]
		public System.String ActualReqDate
		{
			get	
			{	
				return m_actualReqDate ;
			}
			set	
			{	
				m_actualReqDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 发料方式
		/// 生产订单备料AITDTO.Misc.发料方式
		/// </summary>
		private System.Int32 m_issueStyle ;
		[DataMember(IsRequired=false)]
		public System.Int32 IssueStyle
		{
			get	
			{	
				return m_issueStyle ;
			}
			set	
			{	
				m_issueStyle = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 生产订单备料AITDTO.Misc.描述性弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 超额发料
		/// 生产订单备料AITDTO.Misc.超额发料
		/// </summary>
		private System.Boolean m_isOverIssue ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsOverIssue
		{
			get	
			{	
				return m_isOverIssue ;
			}
			set	
			{	
				m_isOverIssue = value ;	
			}
		}
			
		

		/// <summary>
		/// 超额类型
		/// 生产订单备料AITDTO.Misc.超额类型
		/// </summary>
		private System.Int32 m_materialType ;
		[DataMember(IsRequired=false)]
		public System.Int32 MaterialType
		{
			get	
			{	
				return m_materialType ;
			}
			set	
			{	
				m_materialType = value ;	
			}
		}
			
		

		/// <summary>
		/// 超额比例
		/// 生产订单备料AITDTO.Misc.超额比例
		/// </summary>
		private System.Decimal m_standardMaterialScale ;
		[DataMember(IsRequired=false)]
		public System.Decimal StandardMaterialScale
		{
			get	
			{	
				return m_standardMaterialScale ;
			}
			set	
			{	
				m_standardMaterialScale = value ;	
			}
		}
			
		

		/// <summary>
		/// 固定超额量
		/// 生产订单备料AITDTO.Misc.固定超额量
		/// </summary>
		private System.Decimal m_fixedMaterialNum ;
		[DataMember(IsRequired=false)]
		public System.Decimal FixedMaterialNum
		{
			get	
			{	
				return m_fixedMaterialNum ;
			}
			set	
			{	
				m_fixedMaterialNum = value ;	
			}
		}
			
		

		/// <summary>
		/// 特定存储地点
		/// 生产订单备料AITDTO.Misc.特定存储地点
		/// </summary>
		private System.Boolean m_jIT ;
		[DataMember(IsRequired=false)]
		public System.Boolean JIT
		{
			get	
			{	
				return m_jIT ;
			}
			set	
			{	
				m_jIT = value ;	
			}
		}
			
		

		/// <summary>
		/// 供应地点
		/// 生产订单备料AITDTO.Misc.供应地点
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_supplyWh ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData SupplyWh
		{
			get	
			{	
				return m_supplyWh ;
			}
			set	
			{	
				m_supplyWh = value ;	
			}
		}
			
		

		/// <summary>
		/// 订单开工检查
		/// 生产订单备料AITDTO.Misc.订单开工检查
		/// </summary>
		private System.Boolean m_mOStartSetCheck ;
		[DataMember(IsRequired=false)]
		public System.Boolean MOStartSetCheck
		{
			get	
			{	
				return m_mOStartSetCheck ;
			}
			set	
			{	
				m_mOStartSetCheck = value ;	
			}
		}
			
		

		/// <summary>
		/// 订单完工检查
		/// 生产订单备料AITDTO.Misc.订单完工检查
		/// </summary>
		private System.Boolean m_mOCompleteSetCheck ;
		[DataMember(IsRequired=false)]
		public System.Boolean MOCompleteSetCheck
		{
			get	
			{	
				return m_mOCompleteSetCheck ;
			}
			set	
			{	
				m_mOCompleteSetCheck = value ;	
			}
		}
			
		

		/// <summary>
		/// 工序开工检查
		/// 生产订单备料AITDTO.Misc.工序开工检查
		/// </summary>
		private System.Boolean m_oPStartSetCheck ;
		[DataMember(IsRequired=false)]
		public System.Boolean OPStartSetCheck
		{
			get	
			{	
				return m_oPStartSetCheck ;
			}
			set	
			{	
				m_oPStartSetCheck = value ;	
			}
		}
			
		

		/// <summary>
		/// 工序完工检查
		/// 生产订单备料AITDTO.Misc.工序完工检查
		/// </summary>
		private System.Boolean m_oPCompleteSetCheck ;
		[DataMember(IsRequired=false)]
		public System.Boolean OPCompleteSetCheck
		{
			get	
			{	
				return m_oPCompleteSetCheck ;
			}
			set	
			{	
				m_oPCompleteSetCheck = value ;	
			}
		}
			
		

		/// <summary>
		/// 齐套发料
		/// 生产订单备料AITDTO.Misc.齐套发料
		/// </summary>
		private System.Boolean m_isCoupleIssue ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsCoupleIssue
		{
			get	
			{	
				return m_isCoupleIssue ;
			}
			set	
			{	
				m_isCoupleIssue = value ;	
			}
		}
			
		

		/// <summary>
		/// 混批控制
		/// 生产订单备料AITDTO.Misc.混批控制
		/// </summary>
		private System.Boolean m_isDiffentBatchCtl ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsDiffentBatchCtl
		{
			get	
			{	
				return m_isDiffentBatchCtl ;
			}
			set	
			{	
				m_isDiffentBatchCtl = value ;	
			}
		}
			
		

		/// <summary>
		/// 项目
		/// 生产订单备料AITDTO.Misc.项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_project ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Project
		{
			get	
			{	
				return m_project ;
			}
			set	
			{	
				m_project = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 生产订单备料AITDTO.Misc.行号
		/// </summary>
		private System.Int32 m_docLineNO ;
		[DataMember(IsRequired=false)]
		public System.Int32 DocLineNO
		{
			get	
			{	
				return m_docLineNO ;
			}
			set	
			{	
				m_docLineNO = value ;	
			}
		}
			
		

		/// <summary>
		/// 备注
		/// 生产订单备料AITDTO.Misc.备注
		/// </summary>
		private System.String m_remark ;
		[DataMember(IsRequired=false)]
		public System.String Remark
		{
			get	
			{	
				return m_remark ;
			}
			set	
			{	
				m_remark = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																										
		#endregion 
	} 	
}
